package com.kac.feign;

import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

//@FeignClient(name = "microservice-dao-user")
@FeignClient(name = "microservice-dao-user",fallback = UserFeignHystrix.class)
public interface UserFeignClient {

    @RequestMapping(value = "/user/save",method = RequestMethod.GET)
    public String save();
}
